package com.tju.hotel.hotel;

import android.app.Application;

import com.tju.hotel.hotel.bean.MemberBean;

public class MyApplication extends Application {
    //在app启动时执行
    @Override
    public void onCreate() {
        super.onCreate();
    }
    //设置全局的参数
    private MemberBean loginMember;
    //是否登录
    public boolean isLogin(){
        return null!=loginMember;
    }
    public MemberBean getLoginMember() {
        return loginMember;
    }
    public void setLoginMember(MemberBean loginMember) {
        this.loginMember = loginMember;
    }
}
